﻿
@using Single_SignOn.Models
@using Single_SignOn.ResX
@model Single_SignOn.Areas.PDA.Models.ApplicationListModels

@{
    ViewBag.Title = @ResourceTools.GetResource("Resource", "ApplicationList");
    Layout = "~/Areas/PDA/Views/Shared/_LayoutHeader.cshtml";
}
 @using (Html.BeginForm()) {
        <div>
            <div id="content">    
                <table style="width: 100%;">
                    <tr>
                        <td class="right" id="right_header" style="width: 100%;">
                             @Html.Partial("_Profile", (UserProfile)Session["UserInfo"])
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100%;text-align: center;" class="center" >
                            
                            <div style="width: 100%;text-align: right;background-color: transparent;float: right;">
                            @Html.Partial("_Company", Model.Companies)</div>
                        </td>

                    </tr>
                    <tr>
                        <td style="width: 100%;text-align: center;" class="center" >
                            <div style="width: 100%;text-align: right;background-color: transparent;float: right;">
                            @Html.Partial("_Language", Model.Languages)</div>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100%;margin-top:5px;"  class="right" >
                            @Html.Partial("_LogOut", (UserProfile)Session["UserInfo"])
                        </td>
                    </tr>
                </table>
                <div style="width: 100%;" class="center">
                    <table style="width: 100%;" class="center">
                        <tr>
                            <td style="width: 100%;"  class="center" >
                                @{
                                    if (Model.ApplicationLists != null)
                                        {@Html.Partial("_ApplicationList",Model.ApplicationLists)}
                                }
                                
                            </td>
                        </tr>
                    </table>
                </div>
            </div>          
        </div>
    }

